ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 8 - No. 23)

Which is the core feature that differentiates a function from a procedure?
Functions are always shorter.
Functions always return a value.
Procedures are always more complex.
Procedures return a value, and functions do not.

Förklaring

Functions are designed to return a value to the part of the program that called them.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc